package com.atguigu.tingshu.live.service;

import com.atguigu.tingshu.model.live.LiveRoom;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface LiveRoomService extends IService<LiveRoom> {

    // 查询当前登录用户正在直播的直播间数据
    public abstract LiveRoom getCurrentLive();

    // 保存直播间数据
    public abstract LiveRoom saveLiveRoom(LiveRoom liveRoom);

    public abstract List<LiveRoom> findLiveList();

}
